class Simple_calcular2
{
	public static void main(String args[])
	{
		String stno,grade;
		double average;
		
		stno="0012";
		average=88;
			if(average>75)
				grade="A";
			else
				if(average>65)
				grade="B";
			else
				if(average>55)
				grade="C";
			else
				if(average>35)
				grade="S";
			else
				grade="Fail";
		
			System.out.println("Number:"+stno);
			System.out.println("Grade:"+grade);
	}	
}
	